package com.quantumoctopus.magiceatball;

public class Result {

	// This is all of the properties given by the Yelp API. Also, with getters
	// and setters.

	// We won't be using them all, but I figured it would be best to put all of
	// them in, so we can just choose what we need for the Results Screen.

	// We can add in price as soon as we have a method to extract it from yelp's
	// site.
	private String is_claimed;
	private String rating;
	private String mobile_url;
	private String rating_img_url;
	private String review_count;
	private String name;
	private String snippet_image_url;
	private String rating_img_url_small;
	private String url;
	private String phone;
	private String snippet_text;
	private String image_url;
	private String[] categories;
	private String display_phone;
	private String rating_img_url_large;
	private String id;
	private String is_closed;
	private String city;
	private String[] display_address;
	private String geo_accuracy;
	private String postal_code;
	private String country_code;
	private String[] address;
	private String latitude;
	private String longitude;
	private String state_code;
	private int price;

	public String getIs_claimed() {
		return is_claimed;
	}

	public void setIs_claimed(String is_claimed) {
		this.is_claimed = is_claimed;
	}

	public String getRating() {
		return rating;
	}

	public void setRating(String rating) {
		this.rating = rating;
	}

	public String getMobile_url() {
		return mobile_url;
	}

	public void setMobile_url(String mobile_url) {
		this.mobile_url = mobile_url;
	}

	public String getRating_img_url() {
		return rating_img_url;
	}

	public void setRating_img_url(String rating_img_url) {
		this.rating_img_url = rating_img_url;
	}

	public String getReview_count() {
		return review_count;
	}

	public void setReview_count(String review_count) {
		this.review_count = review_count;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSnippet_image_url() {
		return snippet_image_url;
	}

	public void setSnippet_image_url(String snippet_image_url) {
		this.snippet_image_url = snippet_image_url;
	}

	public String getRating_img_url_small() {
		return rating_img_url_small;
	}

	public void setRating_img_url_small(String rating_img_url_small) {
		this.rating_img_url_small = rating_img_url_small;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getSnippet_text() {
		return snippet_text;
	}

	public void setSnippet_text(String snippet_text) {
		this.snippet_text = snippet_text;
	}

	public String getImage_url() {
		return image_url;
	}

	public void setImage_url(String image_url) {
		this.image_url = image_url;
	}

	public String[] getCategories() {
		return categories;
	}

	public void setCategories(String[] categories) {
		this.categories = categories;
	}

	public String getDisplay_phone() {
		return display_phone;
	}

	public void setDisplay_phone(String display_phone) {
		this.display_phone = display_phone;
	}

	public String getRating_img_url_large() {
		return rating_img_url_large;
	}

	public void setRating_img_url_large(String rating_img_url_large) {
		this.rating_img_url_large = rating_img_url_large;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getIs_closed() {
		return is_closed;
	}

	public void setIs_closed(String is_closed) {
		this.is_closed = is_closed;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String[] getDisplay_address() {
		return display_address;
	}

	public void setDisplay_address(String[] display_address2) {
		this.display_address = display_address2;
	}

	public String getGeo_accuracy() {
		return geo_accuracy;
	}

	public void setGeo_accuracy(String geo_accuracy) {
		this.geo_accuracy = geo_accuracy;
	}

	public String getPostal_code() {
		return postal_code;
	}

	public void setPostal_code(String postal_code) {
		this.postal_code = postal_code;
	}

	public String getCountry_code() {
		return country_code;
	}

	public void setCountry_code(String country_code) {
		this.country_code = country_code;
	}

	public String[] getAddress() {
		return address;
	}

	public void setAddress(String[] address) {
		this.address = address;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getState_code() {
		return state_code;
	}

	public void setState_code(String state_code) {
		this.state_code = state_code;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public String getPriceString() {
		StringBuilder sb = new StringBuilder();
		for (int i = 0; i < price; i++)
			sb.append("$");
		String priceString = sb.toString();
		return priceString;
	}
}
